<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>业务管理平台-${Session.ORG_NAME}</title>
		<meta charset="utf-8">
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="format-detection" content="telephone=no">
		<#assign ctx = request.contextPath />
		<script src="${ctx!}/scripts/third/require.js"></script>
		<script>
			/* 定义全局变量 */
			var ctx = "${ctx!}";
			require(['${ctx!}/scripts/common/main.js'], function() {
			    require(['index'], function(IndexPage) {
					IndexPage.initPage();
					//TODO 注销需要发送请求到后台销毁session
					$("#cancellation").bind("click", function() {
						window.location.replace("${request.contextPath}");
				    });
			    });
			});
		</script>
	</head>
	<body>
		<div class="layui-layout layui-layout-admin main-frame-body">
			<div class="layui-header header header-demo">
				<div class="layui-main">
					<div class="admin-login-box">
						<a class="logo" style="left: 5px;" href="javascript:void(0);">
							<span style="font-size: 22px; color: #fff;">后台管理系统</span>
						</a>
						<div class="admin-side-toggle">
							<i class="fa fa-bars" style="margin-top: 8px;" aria-hidden="true"></i>
						</div>
						<div class="admin-side-full">
							<i class="fa fa-life-bouy" style="margin-top: 8px;" aria-hidden="true"></i>
						</div>
					</div>
					<ul class="layui-nav admin-header-item">
						<li class="layui-nav-item">
							<a href="javascript:;" class="admin-header-user">
								<#if (Session.USER.headImgPath?? && Session.USER.headImgPathShow?? && Session.USER.headImgPathShow != "" && Session.USER.headImgPathShow != null)>
									<img src="${Session.USER.headImgPathShow}"/>
								<#else>
									<img src="${ctx!}/images/default-head.jpg" />
								</#if>
								<span>${Session.USER_NAME}</span>
							</a>
							<dl class="layui-nav-child">
								<dd>
									<a href="javascript:;"><i class="fa fa-user-circle" aria-hidden="true"></i> 个人信息</a>
								</dd>
								<dd>
									<a href="javascript:void(0);" id="cancellation"><i class="fa fa-sign-out" aria-hidden="true"></i> 注销</a>
								</dd>
							</dl>
						</li>
					</ul>
					<ul class="layui-nav admin-header-item-mobile">
						<li class="layui-nav-item">
							<a href="index.html"><i class="fa fa-sign-out" aria-hidden="true"></i> 注销</a>
						</li>
					</ul>
				</div>
			</div>
			<div class="layui-side" id="admin-side">
				<div class="layui-side-scroll" id="admin-navbar-side" lay-filter="side"></div>
			</div>
			<div class="layui-body" id="admin-body">
				<div class="layui-tab admin-nav-card layui-tab-brief" lay-filter="admin-tab">
					<ul class="layui-tab-title">
					</ul>
					<div class="layui-tab-content" style="min-height: 300px; padding: 5px 0 0 0;">
					</div>
				</div>
			</div>
			<!-- <div class="layui-footer footer footer-demo" id="admin-footer">
				<div class="layui-main">
					<p>2018 &copy;
						<a href="http://www.XX.com">www.XX.com</a> 大连XX科技有限公司
					</p>
				</div>
			</div> -->
			<div class="site-tree-mobile layui-hide">
				<i class="layui-icon">&#xe602;</i>
			</div>
			<div class="site-mobile-shade"></div>
		</div>
	</body>
</html>
